/**
 * Created by longgs on 2018-7-19.
 */
(function (angular) {
    function StatisticService($resource, $q, $http, UrlConfigService) {
        var _schema = [
            {label: '序号', name: "id", sortable: false},
            {label: '模型名称', name: "modelName", sortable: false},
            {label: '模型数量', name: "modelAmount", sortable: false},
            {label: '模型简介', name: "modelIntrodution", sortable: false}

        ];

        this._schema = _schema;
        this._sort = '';
        this._order = '';
        this._listUrl = UrlConfigService.urlConfig.decisionAnalysis.portray.algorithm.total;
        this._url = UrlConfigService.urlConfig.decisionAnalysis.portray.algorithm.percent;


        BaseListService.call(this, this._listUrl, $resource, $q, $http, _schema, this._url);


    }

    StatisticService.$inject = ['$resource', '$q', '$http', 'UrlConfigService'];
    angular.module('MetronicApp').service('StatisticService', StatisticService);
})(angular);